package com.minelx.statementsplus.cha.base;

import com.minelx.landisk.filesystem.core.File;

public class WorkingFileTaskRunner {

	private final File downloadedFile;

	private final ResponseFetcher responseFetcher;

	public WorkingFileTaskRunner(ResponseFetcher responseFetcher, File downloadedFile) {
		this.responseFetcher = responseFetcher;
		this.downloadedFile = downloadedFile;
	}

	public void run() {
		responseFetcher.extractToFile(downloadedFile);
	}
}
